<template>
  <div>
    <div class="waiting" v-show="waitingForYou || updateData">
      <img src="../assets/picture/loading.gif" width="100" height="100">
    </div>
  </div>
</template>

<script>
  export default {
    name: 'waiting',
    props: ['waitingForYou', 'updateData']
  }
</script>

<style>
  .waiting{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
  }
</style>
